#ifndef PROXYDESCRIPTION_H
#define PROXYDESCRIPTION_H

#include <QFrame>
#include <QMap>

namespace Ui {
    class ProxyDescription;
}

class ProxyDescription : public QFrame
{
    Q_OBJECT
    int index;
    QMap<QString,QString> waitMap;
    int _type;
    QString _host;
    int _port;
    int _status;
    QWidget* waitWidget;

public:
    explicit ProxyDescription(int, QWidget *parent = 0);
    ~ProxyDescription();
    void setType(int);
    void setHost(QString);
    void setPort(int);
    void setStatus(int);
    void addWait(QString, QString);
    void clearWaits();
private:
    Ui::ProxyDescription *ui;
};

#endif // PROXYDESCRIPTION_H
